package qnb.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 	学生信息实体类
 * @author 
 *
 */
public class Student {

  private String studentId;					//学生编号
  private String studentName;				//学生名称
  private String studentAccount;			//学生账号
  private String studentPassword;			//学生密码
  private String studentSex;				//学生性别
  private String studentEmail;				//学生邮件
  private String studentPhone;				//学生手机号
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date studentBirthday;	//学生生日
  private String studentAddr;				//学生地址
  private String studentPhone2;				//监护人电话
  private String studentName2;				//监护人名称
  private long studentStyle;				//学生状态（是否毕业）
  private long gradeId;						//外键-班级主键
  private long subjectId;					//外键-科目主键
  private long roomId;						//外键-宿舍主键


  public String getStudentId() {
    return studentId;
  }

  public void setStudentId(String studentId) {
    this.studentId = studentId;
  }


  public String getStudentName() {
    return studentName;
  }

  public void setStudentName(String studentName) {
    this.studentName = studentName;
  }


  public String getStudentAccount() {
    return studentAccount;
  }

  public void setStudentAccount(String studentAccount) {
    this.studentAccount = studentAccount;
  }


  public String getStudentPassword() {
    return studentPassword;
  }

  public void setStudentPassword(String studentPassword) {
    this.studentPassword = studentPassword;
  }


  public String getStudentSex() {
    return studentSex;
  }

  public void setStudentSex(String studentSex) {
    this.studentSex = studentSex;
  }


  public String getStudentEmail() {
    return studentEmail;
  }

  public void setStudentEmail(String studentEmail) {
    this.studentEmail = studentEmail;
  }


  public String getStudentPhone() {
    return studentPhone;
  }

  public void setStudentPhone(String studentPhone) {
    this.studentPhone = studentPhone;
  }


  public Date getStudentBirthday() {
    return studentBirthday;
  }

  public void setStudentBirthday(Date studentBirthday) {
    this.studentBirthday = studentBirthday;
  }


  public String getStudentAddr() {
    return studentAddr;
  }

  public void setStudentAddr(String studentAddr) {
    this.studentAddr = studentAddr;
  }


  public String getStudentPhone2() {
    return studentPhone2;
  }

  public void setStudentPhone2(String studentPhone2) {
    this.studentPhone2 = studentPhone2;
  }


  public String getStudentName2() {
    return studentName2;
  }

  public void setStudentName2(String studentName2) {
    this.studentName2 = studentName2;
  }


  public long getStudentStyle() {
    return studentStyle;
  }

  public void setStudentStyle(long studentStyle) {
    this.studentStyle = studentStyle;
  }


  public long getGradeId() {
    return gradeId;
  }

  public void setGradeId(long gradeId) {
    this.gradeId = gradeId;
  }


  public long getSubjectId() {
    return subjectId;
  }

  public void setSubjectId(long subjectId) {
    this.subjectId = subjectId;
  }


  public long getRoomId() {
    return roomId;
  }

  public void setRoomId(long roomId) {
    this.roomId = roomId;
  }

}
